< previous page page_153 next page >

Page 153
2. Declare a constant named conValue that holds the value 1.
3. Write a statement that will add 10 to the constant you created in the last question.
Exercises
1. Create a new project.
2. Add a global array to this project.
3. Make this a two-dimensional array that holds timecard information. Have the following elements in the array:
Date
Hours worked
Employee name
4. Create a new form that loads this array in the Form_Load() event procedure with some sample data.
5. Create some public constants you can use to reference each of the different subscripts.
Heres another exercise that builds on the previous one:
1. Create a user-defined type of timecard information. Use the same elements as in the previous exercise.
2. Create an array of this user-defined type and load it with some sample data.

 
< previous page page_153 next page >

If you like this book, buy it!